package com.objectdraw.server.data;

import java.net.Socket;

import com.objectdraw.server.CommunicationServer;

/**
 * Wrapper class for client's request
 * @author hgladden
 *
 */
public class RequestData {

	private String command= "";
	private String params = "";
	private Socket client = null;
	private CommunicationServer CommServer = null;
	public RequestData(){
		
	}
	public String getCommand(){
		return command;
	}
	public void setCommand(String command){
		this.command = command;
	}
	public String getParams(){
		return params;
	}
	public void setParams(String params){
		this.params = params;
	}
	public Socket getClient(){
		return client;
	}
	public void setClient(Socket client){
		this.client = client;
	}
	public String toString(){
		return "Command: " + command + "\nParams: " + params;
	}
	public void setCommServer(CommunicationServer CommServer) {
		this.CommServer = CommServer;
	}
	public CommunicationServer getCommServer(){
		return CommServer;
	}
}
